import java.util.Arrays;
import java.util.List;


public class Collections {

  /**
   * @param args
   */
  public static void main(String[] args) {
    Integer[] data  = {1,2,3,4};
    List<Integer> list = Arrays.asList(data);
    List<Integer> un = java.util.Collections.unmodifiableList(list);
    un.set(0, 3);
    System.out.println(un);

  }

}
